<?php

/**
 * Sucessor
 *  
 * @author Paulo
 * @version 
 */
require_once 'Zend/Db/Table/Abstract.php';

class Application_Model_Sucessor extends Zend_Db_Table_Abstract
{

    /**
     * The default table name
     */
    protected $_name = 'cad_sucessor';

    protected $_primary = 'cpf_sucessor';
    
    public function listar()
    {
    	try {
    		 
    		return $this->fetchAll();
    
    	} catch (Zend_Db_Exception $e) {
    		var_dump($e);
    	}
    }
}
